CXXFLAGS = -std=c++11  -I /usr/include/boost
LDFLAGS = -L /usr/lib64 -Wl,-R/usr/lib64


all: static_boost shared_boost


static_boost: main.cpp
	g++ main.cpp $(CXXFLAGS) $(LDFLAGS) -l:libboost_regex.a -o static_boost

shared_boost: main.cpp
	g++ main.cpp $(CXXFLAGS) $(LDFLAGS) -lboost_regex -o shared_boost

clean:
	rm *_boost
